package com.leaderhr.fishshop.form;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

import org.hibernate.dialect.Ingres10Dialect;

import com.leaderhr.fishshop.model.product.ProductType;

/**
 * EasyUI tree模型
 * 
 * @author 孙宇
 * 
 */
public class Tree implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Integer id;
	private String text;
	private String state = "open";// open,closed
	private boolean checked = false;
	private Object attributes;
	private String iconCls;
	private Integer pid;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public Object getAttributes() {
		return attributes;
	}

	public void setAttributes(Object attributes) {
		this.attributes = attributes;
	}
	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

}
